package com.ruoyi.teach.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 课程主讲人/助教对象 nb_speakers
 * 
 * @author ruoyi
 * @date 2021-12-08
 */
public class NbSpeakers extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 讲课人主键 */
    private Long id;

    /** 所属课程ID */
    @Excel(name = "所属课程ID")
    private Long courseId;

    /** 是否是主讲人;0->主讲人，1->助教 */
    @Excel(name = "是否是主讲人;0->主讲人，1->助教")
    private Integer type;

    /** 主讲人姓名 */
    @Excel(name = "主讲人姓名")
    private String name;

    /** 职称 */
    @Excel(name = "职称")
    private String technicalTitle;

    /** 老师代表学校 */
    @Excel(name = "老师代表学校")
    private String schoolName;

    /** 10个字介绍老师 */
    @Excel(name = "10个字介绍老师")
    private String intro;

    /** 老师生日 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "老师生日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birthday;

    /** 老师学术方向 */
    @Excel(name = "老师学术方向")
    private String technicalDirection;

    /** 老师长介绍 */
    @Excel(name = "老师长介绍")
    private String description;

    /** 关联老师账户ID */
    @Excel(name = "关联老师账户ID")
    private Long teacherId;

    /** 状态;0->正常 1->删除 */
    @Excel(name = "状态;0->正常 1->删除")
    private Integer status;

    /** 删除标志（0代表存在;2代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCourseId(Long courseId) 
    {
        this.courseId = courseId;
    }

    public Long getCourseId() 
    {
        return courseId;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setTechnicalTitle(String technicalTitle) 
    {
        this.technicalTitle = technicalTitle;
    }

    public String getTechnicalTitle() 
    {
        return technicalTitle;
    }
    public void setSchoolName(String schoolName) 
    {
        this.schoolName = schoolName;
    }

    public String getSchoolName() 
    {
        return schoolName;
    }
    public void setIntro(String intro) 
    {
        this.intro = intro;
    }

    public String getIntro() 
    {
        return intro;
    }
    public void setBirthday(Date birthday) 
    {
        this.birthday = birthday;
    }

    public Date getBirthday() 
    {
        return birthday;
    }
    public void setTechnicalDirection(String technicalDirection) 
    {
        this.technicalDirection = technicalDirection;
    }

    public String getTechnicalDirection() 
    {
        return technicalDirection;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setTeacherId(Long teacherId) 
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId() 
    {
        return teacherId;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("courseId", getCourseId())
            .append("type", getType())
            .append("name", getName())
            .append("technicalTitle", getTechnicalTitle())
            .append("schoolName", getSchoolName())
            .append("intro", getIntro())
            .append("birthday", getBirthday())
            .append("technicalDirection", getTechnicalDirection())
            .append("description", getDescription())
            .append("teacherId", getTeacherId())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("delFlag", getDelFlag())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
